const cloud = require("@cloudbase/node-sdk");

exports.main = async(event, context) => {
    const app = cloud.init({
        env: cloud.SYMBOL_CURRENT_ENV,
    });
    const db = app.database();
    const res = await db.collection("team").get()
        // todo
        // your code here
    return {
        res,
        event,
        //  context,
    };
};